package com.peaksport.pkms.learn.day21.handler;

import org.apache.servicecomb.core.Handler;
import org.apache.servicecomb.core.Invocation;
import org.apache.servicecomb.swagger.invocation.AsyncResponse;

import lombok.extern.log4j.Log4j;

@Log4j
public class HelloConsumerHandler2 implements Handler{
	

	@Override
	public void handle(Invocation invocation, AsyncResponse asyncResp) throws Exception {
		String operationName = invocation.getMicroserviceQualifiedName();
		log.info("========Consumer2===========" + operationName);
		
		invocation.next(asyncResp);
		
	}

}
